{extend name="layout" /}

{block name="title"}home{/block}

{block name="content"}
<div class="row">
    <div class="col-lg-12">
        <div class="content-header">
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb breadcrumb-style-1">
                    <li class="breadcrumb-item"><a href="javascript:void(0);">首页</a></li>
                    <li class="breadcrumb-item active" aria-current="page">控制台</li>
                </ol>
            </nav>
        </div>
    </div>

    {include file="index/info_head" /}

    <div class="col-lg-12">
        <div class="card">
            <div class="card-body">
                <h5 class="card-title">系统信息</h5>
                <p>系统环境相关配置.</p>
                <table class="table table-hover">
                    <tbody>
                    <tr>
                        <td align="right">当前版本</td>
                        <td>{$sysInfo.version}</td>
                        <td align="right">IP</td>
                        <td>{$sysInfo.ip}</td>
                    </tr>
                    <tr>
                        <td align="right">服务器操作系统</td>
                        <td>{$sysInfo.os}</td>
                        <td align="right">服务器域名</td>
                        <td>{$sysInfo.domain}</td>
                    </tr>
                    <tr>
                        <td align="right">服务器环境</td>
                        <td>{$sysInfo.web_server}</td>
                        <td align="right">PHP 版本</td>
                        <td>{$sysInfo.php_version}</td>
                    </tr>
                    <tr>
                        <td align="right">服务器时间</td>
                        <td>{:date('Y-m-d H:i:s')}</td>
                        <td align="right">服务器时区</td>
                        <td>{$sysInfo.timezone}</td>
                    </tr>
                    <tr>
                        <td align="right">Mysql 版本</td>
                        <td>{$sysInfo.mysql_version}</td>
                        <td align="right">GD 版本</td>
                        <td>{$sysInfo.gd_info}</td>
                    </tr>
                    <tr>
                        <td align="right">文件上传限制</td>
                        <td>{$sysInfo.file_upload}</td>
                        <td align="right">最大占用内存:</td>
                        <td>{$sysInfo.memory_limit}</td>
                    </tr>
                    <tr>
                        <td align="right">最大执行时间</td>
                        <td>{$sysInfo.max_ex_time}</td>
                        <td align="right">安全模式</td>
                        <td>{$sysInfo.safe_mode}</td>
                    </tr>
                    <tr>
                        <td align="right">Zlib支持</td>
                        <td>{$sysInfo.zlib}</td>
                        <td align="right">Curl支持</td>
                        <td>{$sysInfo.curl}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
{/block}
